home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gxdhtres.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  1.6 KB  |  50 lines

  1. /* Copyright (C) 1999 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gxdhtres.h,v 1.2 2000/09/19 19:00:36 lpd Exp $ */
  20. /* Definitions for precompiled halftone resources */
  21.  
  22. #ifndef gxdhtres_INCLUDED
  23. #  define gxdhtres_INCLUDED
  24.  
  25. #include "stdpre.h"
  26.  
  27. /*
  28.  * Precompiled halftones generated by genht #include this file.
  29.  */
  30. #ifndef gx_device_halftone_resource_DEFINED
  31. #  define gx_device_halftone_resource_DEFINED
  32. typedef struct gx_device_halftone_resource_s gx_device_halftone_resource_t;
  33. #endif
  34.  
  35. struct gx_device_halftone_resource_s {
  36.     const char *rname;
  37.     int HalftoneType;
  38.     int Width;
  39.     int Height;
  40.     int num_levels;
  41.     const unsigned int *levels;
  42.     const void *bit_data;
  43.     int elt_size;
  44. };
  45.  
  46. #define DEVICE_HALFTONE_RESOURCE_PROC(proc)\
  47.   const gx_device_halftone_resource_t *const *proc(P0())
  48.  
  49. #endif /* gxdhtres_INCLUDED */
  50.